package lab02.test02;


public class Circle {
    public float radius = (float) 12.5;
    public float perimer;
    public float area;

    public void perimer() {
        perimer = (float) (2 * radius * 3.14);
        System.out.println("周长："+perimer);
    }

    public void area() {
        area = (float) ((radius * radius) * 3.14);
        System.out.println("面积："+area);
    }

}